import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson,
  download
} from '../utils/request';


//查询当前组织数据
export function queryOrgTotal(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberTrade/queryOrgTotal', data);
  return post('/api/member-service/v1/memberTrade/queryOrgTotal', data);
}

//查询当前组织下属组织列表
export function queryOrgChildList(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberTrade/queryOrgChildList', data);
  return post('/api/member-service/v1/memberTrade/queryOrgChildList', data);
}

//查询当前树结构列表
export function queryAllOrgTree(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberTrade/queryAllOrgTree', data);
  return post('/api/member-service/v1/memberTrade/queryAllOrgTree', data);
}

//分页查询当前门店分享排名列表
export function queryOrgEmployeeShareList(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberTrade/queryOrgEmployeeShareList', data);
  return post('/api/member-service/v1/memberTrade/queryOrgEmployeeShareList', data);
}

//导出
export function excelMemberShareByParam(data) {
  //return download('http://127.0.0.1:18080/api/member-service/v1/memberTrade/excelMemberShareByParam', data);
  return download('/api/member-service/v1/memberTrade/excelMemberShareByParam', data);
}